export const showColumnsAdapter = [
  {
    dataIndex: 'healthStatusType',        //健康状态
    slotType: 'icon',
    noTitle: true,
    scopedSlots: {
      customRender: 'healthStatusType'
    },
    style: {
      width: '30px',
      minWidth: '30px !important',
      textAlign: 'right'
    }
  },{
    dataIndex: 'modifier', //修改者
    style: {
      width: '220px'
    }
  },{
    dataIndex: 'reviewerReference', //审核人
    slotType: 'completetxt',
    style: {
      width: '220px'
    },
    scopedSlots: {
      customRender: 'reviewerReference'
    },
  }, {
    dataIndex: 'physicalCompletePercent', //完成百分比
    style: {
      width: '120px'
    }
  }, {
    dataIndex: 'taskCode', //任务代号
    style: {
      width: '100px'
    }
  }, {
    dataIndex: 'targetEndDate',       //目标完成时间
    slotType: 'date',
    scopedSlots: {
      customRender: 'targetEndDate'
    },
    style: {
      width: '150px'
    }
  }, {
    dataIndex: 'targetDuration.millis',         //目标工期
    slotType: 'day',
    scopedSlots: {
      customRender: 'targetDuration.millis'
    },
    style: {
      width: '120px'
    }
  }, {
    dataIndex: 'name',      //名称
    style: {
      width: '250px'
    },
    slotType: 'tree',
    scopedSlots: {
      customRender: 'name'
    },
  }, {
    dataIndex: 'thePersistInfo.createStamp', //创建时间
    style: {
      width: '150px'
    },
    slotType: 'date',
    edit: false,
    scopedSlots: {
      customRender: 'thePersistInfo.createStamp'
    }
  }, {
    dataIndex: 'lineNumber', //行号
    style: {
      width: '60px'
    },
    slotType: 'classspan',
    scopedSlots: {
      customRender: 'lineNumber'
    },
  }, {
    dataIndex: 'editorReference', //编辑者
    slotType: 'completetxt',
    style: {
      width: '220px'
    },
    scopedSlots: {
      customRender: 'editorReference'
    }
  }, {
    dataIndex: 'plannableStatus', //任务状态
    style: {
      width: '100px'
    },
    slotType: 'classspan',
    scopedSlots: {
      customRender: 'plannableStatus',
      filterDropdown: 'filterDropdown',
      filterIcon: 'filterIcon',
    }
  }, {
    dataIndex: 'durationType', //工期类别
    style: {
      width: '200px'
    },
    slotType: 'classspan',
    scopedSlots: {
      customRender: 'durationType'
    },
  }, {
    dataIndex: 'predecessor', //前置任务
    style: {
      width: '80px'
    },
    slotType: 'classspan',
    scopedSlots: {
      customRender: 'predecessor'
    },
  },
  {
    dataIndex: 'targetStartDate',       //目标开始时间
    slotType: 'date',
    scopedSlots: {
      customRender: 'targetStartDate'
    },
    style: {
      width: '150px'
    },
  }, {
    dataIndex: 'actualStartDate', //实际开始时间
    style: {
      width: '150px'
    },
    slotType: 'date',
    scopedSlots: {
      customRender: 'actualStartDate'
    },
    edit: false,
  }, {
    dataIndex: 'FourthNode', ///四级汇总节点
    style: {
      width: '150px'
    },
    slotType: 'dropdown',
    editInfo: [{
        label: '',
        value: ''
      },
      {
        label: '是',
        value: '是'
      },
      {
        label: '否',
        value: '否'
      }
    ],
    scopedSlots: {
      customRender: 'FourthNode'
    },
  }, {
    dataIndex: 'lock.lockDate', ///锁定时间
    style: {
      width: '150px'
    },
    slotType: 'date',
    scopedSlots: {
      customRender: 'lock.lockDate'
    },
    edit: false,
  }, {
    dataIndex: 'thePersistInfo.modifyStamp', //上次修改时间
      style: {
        width: '150px'
      },
    slotType: 'date',
    scopedSlots: {
      customRender: 'thePersistInfo.modifyStamp'
    },
    edit: false,
  }, {
    dataIndex: 'actualEndDate', //实际完成时间
      style: {
        width: '150px'
      },
    slotType: 'date',
    scopedSlots: {
      customRender: 'actualEndDate'
    },
    edit: false,
  }, {
    dataIndex: 'creator', ///创建者
    style: {
      width: '100px'
    },
  }, {
    dataIndex: 'lock.locker', ///锁定者
    style: {
      width: '150px'
    },
    slotType: 'classspan',
    scopedSlots: {
      customRender: 'lock.locker'
    },
  }, {
    dataIndex: 'lock.locked', ///是否锁定
      style: {
        width: '100px'
      },
    slotType: 'icon',
    align: 'center',
    scopedSlots: {
      customRender: 'lock.locked'
    },
  }, {
    dataIndex: 'KeyNode', ///关键节点
      style: {
        width: '120px'
      },
    scopedSlots: {
      customRender: 'KeyNode',
      filterDropdown: 'filterDropdown',
      filterIcon: 'filterIcon',
    },
    slotType: 'dropdown',
    editInfo: [
      {
        label: '',
        value: ''
      },
      {
        label: '是',
        value: '是'
      }
    ]
  }, {
    dataIndex: 'activityType', ///活动类别
      style: {
        width: '150px'
      },
    slotType: 'dropdown',
    scopedSlots: {
      customRender: 'activityType'
    },
  }, {
    dataIndex: 'deliverable', ///交付物
      style: {
        width: '150px'
      },
    slotType: 'deliver',
    scopedSlots: {
      customRender: 'deliverable'
    },
  }, {
    dataIndex: 'resource', //执行人
      style: {
        width: '220px'
      },
    slotType: 'completetxt',
    scopedSlots: {
      customRender: 'resource'
    },
  }, {
    dataIndex: 'effort', ///工时
      style: {
        width: '80px'
      },
  }
]